package com.wolfpire.workflow.model;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class TreeModel {

	private String id;
	
	private String text;
	
	private String state;
	
	private Map<String, Object> attributes;
	
	private List<TreeModel> children = new ArrayList<TreeModel>();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	public Map<String, Object> getAttributes() {
		return attributes;
	}

	public void setAttributes(Map<String, Object> attributes) {
		this.attributes = attributes;
	}

	public List<TreeModel> getChildren() {
		return children;
	}

	public void setChildren(List<TreeModel> children) {
		this.children = children;
	}
	
}
